'use strict'

module.exports = {
  UserInfo: {
    id: { type: 'number', required: true, description: '用户ID', example: 86 },
    open_id: { type: 'string', required: false, description: '用户open_id', example: 'x121s561e51sd5f165d' },
    nick_name: { type: 'string', required: false, description: '用户昵称', example: '守法公民' },
    avatar_url: { type: 'string', required: false, description: '用户昵称', example: 'https://img.xxx.xxxx./dij3.jpg' },
    phone: { type: 'string', required: true, description: '用户手机号码', example: '13812345678' },
    gender: { type: 'number', required: false, description: '用户性别', example: 1 },
    province: { type: 'string', required: false, description: '用户所在省份', example: '北京' },
    city: { type: 'string', required: false, description: '用户所在城市', example: '北京' },
    language: { type: 'string', required: false, description: '用户使用语言', example: 'zh_CN' },
    is_root: { type: 'number', required: false, description: '是否超管', example: 0 },
    status: { type: 'number', required: false, description: '状态', example: 1 },
    create_at: { type: 'string', required: false, description: '创建时间', example: 165165165165 },
    update_at: { type: 'string', required: false, description: '更新时间', example: 165165165165 },
    logged_at: { type: 'string', required: false, description: '登录时间', example: 165165165165 }
  }
}
